<#macro tbHeaderBtn
	t=""
	id=""
	click=""
	btn=""
	fa=""
	l=""
>

	<#local options = "" >
	<#if l !="">
	<#switch l>
		<#case "add">
			<#local btn="btn-success" >
			<#local fa="fa-plus" >
			<#if t == ""><#local t="新增" ></#if>
			<#if id == ""><#local id="addBtn" ></#if>
			<#break>
		<#case "del">
			<#local btn="btn-danger" >
			<#local fa="fa-trash-o" >
			<#if t == ""><#local t="删除" ></#if>
			<#if id == ""><#local id="batchDelBtn" ></#if>
			<#break>
		<#case "search">
			<#if id == ""><#local id="searchBtn" ></#if>
			<#local btn="btn-primary" >
			<#local fa="fa-search" >
			<#if t == ""><#local t="搜索" ></#if>
			<#break>
		<#case "export">
			<#local btn="btn-yellow" >
			<#local fa="fa-file-excel-o" >
			<#if t == ""><#local t="导出" ></#if>
			<#break>
		<#case "print">
			<#local btn="btn-yellow" >
			<#local fa="fa-print" >
			<#if t == ""><#local t="打印" ></#if>
			<#break>
		<#case "uploadLocalBtn">
			<#local btn="btn-purple" >
			<#local fa="fa-cloud-upload" >
			<#if t == ""><#local t="上传" ></#if>
		    <#if id == ""><#local id="uploadLocalBtn" ></#if>
		    <#if click == ""><#local click="uploadLocalFile('common')" ></#if>
			<#break>
	</#switch>
	</#if>
	<button class="btn btn-app ${btn} btn-xs" <#if id != "">id="${id}"</#if> <#if click!=""> onclick="${click!}"</#if>>
		<i class="ace-icon fa ${fa!} bigger-160"></i>${t!}
	</button>
</#macro>